package router

import (
	"api-getway/api"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {

	r.POST("/upload", api.Upload)
	r.GET("/list", api.VideoList)
	r.GET("/user/list", api.UserList)
}
